home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Root Part
- Sent: 3/12/96 4:37 PM
- Received: 3/12/96 4:52 PM
- From: lamiraux@apple.com
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >Is there anyway to deterime if your part is the root part or not at part
- >initialization time? (I would like to register different presentations
- >based on being the root part or not. I know I can determine this once I
- >have a frame, but that is too late).
- >
- >Thanks,
- >
- >Karl Jepsen
- >kjepsen@softsolutions.com
- >
- >
-
- I think that if a part really needed to know if it was the root part of a
- document, it would be possible for it to determine this by doing
- something like the ODAcquireRootPartOfDraft routine in DocUtils.h (in the
- OpenDoc utilities) does and comparing the result to their part wrapper.
-
- _troy
-
- .....................................................................
- Troy Gaul tgaul@apple.com
- Apple Computer, Inc. OpenDoc Added Value Products
- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-